package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName OceanengineUserInfoByToken
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/8/20 10:34
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "获取token对应的user信息的返回参数")
public class OceanengineUserInfoByToken {
    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "获取token对应的user信息的返回参数实体")
    public static class DataBean {

            @ApiModelProperty(value = "用户id")
            private Long id;
            @ApiModelProperty(value = "邮箱（已经脱敏处理）")
            private String email;
            @ApiModelProperty(value = "用户名")
            private String display_name;
    }
}
